package com.spring.test.utils;

import org.testng.annotations.Test;
import org.w3c.dom.Text;

import java.util.UUID;

public class IdUtil {

    public static String getId(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }

    @Test
    public void test(){

        System.out.println(IdUtil.getId());
        System.out.println(IdUtil.getId());
        System.out.println(IdUtil.getId());

    }
}

